ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width <input video>